import { Dictionary, SettingType } from '@/interface/Basic'

export interface TableColumnType {
  ID: string
  AAG001: string
  operator: string
  savetime: string
  status: string
  remarks: string
  key1: string
  key2: string
  key3: string
  key4: string
  key5: string
}
export const tableColumnDict: Dictionary<string> = {
  ID: 'id',
  AAG001: '出厂编号',
  operator: '操作人',
  savetime: '保存时间',
  status: '状态',
  remarks: '备注',
  key1: '声延时压力',
  key2: '声延时保存时间',
  key3: '零流量结论',
  key4: '零流量保存时间',
  key5: '零流量概况'
}
export const module_settings: SettingType[] = [
  { label: '出厂编号', key: 'item1', value: '', type: 'input', disabled: false, unit: '' },
  {
    label: '声延时状况',
    key: 'item4',
    value: '',
    type: 'select',
    disabled: false,
    options: [],
    unit: 'mm'
  },
  { label: '准确度等级', key: 'item5', value: '', type: 'input', disabled: false, unit: '级' },
  { label: '电源', key: 'item6', value: '', type: 'input', disabled: false, unit: 'VDC' },
  { label: '防爆等级', key: 'item8', value: '', type: 'input', disabled: false, unit: '' },

  {
    label: '零流量状态',
    key: 'item1',
    value: '',
    type: 'select',
    disabled: false,
    options: [],
    unit: ''
  },
  { label: '功率(低于)', key: 'item9', value: '', type: 'input', disabled: false, unit: 'W' },
  { label: '工作压力下限', key: 'AAF1501', value: '', type: 'input', disabled: false, unit: 'MPa' },

  {
    label: '温度变送器',
    key: 'AAF1601',
    value: '',
    type: 'select',
    options: [],
    disabled: false,
    unit: 'MPa'
  },
  {
    label: '温度变送器',
    key: 'AAF3401',
    value: '',
    type: 'select',
    options: [],
    disabled: false,
    unit: '℃'
  },

  { label: '备注', key: 'AAF3301', value: '', type: 'textarea', disabled: false, unit: '℃' }
]
